class NewDummyCategories < ActiveRecord::Migration
  def self.up

    Category.delete_all
    master = Category.create(:name => "Annonser", :category_id => 0)
    vehicles = Category.create(:name => "Fordon", :category_id => master.id)
     cars = Category.create(:name => "Bilar", :category_id => vehicles.id)
     boats = Category.create(:name => "Båtar", :category_id => vehicles.id)
      sail = Category.create(:name => "Segelbåtar", :category_id => boats.id)
      motor = Category.create(:name => "Motorbåtar", :category_id => boats.id)
     accessories = Category.create(:name => "Tillbehör", :category_id => vehicles.id)
    games = Category.create(:name => "Spel", :category_id => master.id)
     wii = Category.create(:name => "Wii", :category_id => games.id)
     xbox = Category.create(:name => "Xbox", :category_id => games.id)

  end

  def self.down
  end
end
